package com.qingke.Qiximybatis.command;

import com.qingke.Qiximybatis.QixiConsole;
import com.qingke.Qiximybatis.sqlclass.MyUser;

public abstract class UserCommand implements Command{
	protected MyUser user;
	
	public UserCommand(MyUser user){
		this.user=user;
	}

	public void execute() {
		if(user == null ){
			QixiConsole.println("系统用户不存在！");
			return;
		}
		executeUserCommand();
	}

	public abstract void executeUserCommand();//文件不再同一包下。
	
}
